package xin.zhiyin.仓库.书;

import jakarta.transaction.Transactional;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation;
import xin.zhiyin.实体.书章节内容Entity;


import java.util.List;

public interface 书章节内容Repository  extends JpaRepositoryImplementation<书章节内容Entity,Long> {
    @Modifying
    @Transactional
    @Query("delete from 书章节内容Entity s where s.id in (?1)")
    void 批量删除(List ids);
}
